<?php
namespace app\cms\controllers;
use app\cms\common\ViewBaseController;
use lib\rpc\RpcClient;

class TestController extends ViewBaseController {
    public function actionIndex(){
        $user_name = 'admin';
        $pass_word = md5('123123');
        $data =  RpcClient::find('UserController')->getUserByUserPass($user_name,$pass_word);
        print_r($data);die;
    }
}